//
// Created by wkm on 2023-12-03.
//

#include "full_adder.h"

void full_adder::prc_full_adder() {
    sum = (a ^ b) ^ cin;
    cout = (a & b) | (a & cin) | (b & cin);
};